package com.param.impl;
import javax.validation.constraints.*;

import com.param.concat.IManuscriptParams;

import java.io.Serializable;  
  
public class ManuscriptParams implements Serializable, IManuscriptParams {  
   
    @NotNull
    @Size(max = 345, message = "文件名或路径长度不能超过345个字符")  
    private String file;  
  
  
    @NotNull(message = "文件大小不能为空")  
    @Min(value = 0, message = "文件大小必须大于等于0")  
    private Long size;  
  
    @Size(max = 75, message = "原始文件名长度不能超过75个字符")  
    private String originName;

	public String getFile() {
		return file;
	}

	public void setFile(String file) {
		this.file = file;
	}

	public Long getSize() {
		return size;
	}

	public void setSize(Long size) {
		this.size = size;
	}

	public String getOriginName() {
		return originName;
	}

	public void setOriginName(String originName) {
		this.originName = originName;
	} 
}